status: Don't crash if we deployed a local refspec
authorColin Walters <walters@verbum.org>
Tue, 21 Apr 2015 01:02:25 +0000 (21:02 -0400)
committerColin Walters <walters@verbum.org>
Tue, 21 Apr 2015 01:02:25 +0000 (21:02 -0400)
commit6d84321a16ec581269bee947bb6f6fceacc2f0c4
treeaa36145f1064eb62bed80e1024790305a1030c14
parentf08cb802ea1b02c874fd71a0672c28b49e890d49
status: Don't crash if we deployed a local refspec

In the case we built a local tree, we'd pass `NULL` as a remote down
to the GPG checking code.  Noticed this in the test suite.
src/ostree/ot-admin-builtin-status.c